package y23.Oct;

public class Test24 {
    public static void main(String[] args) {
        Thread thread1 = new Thread(()->{
            for (int i = 0; i < 20; i++) {
                System.out.println("thread1:"+i);
            }
        });
        thread1.start();
    }
}
